package com.hdy.javachatroomdemo.Config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
public class OSSProperties {
    @Value("${file.oss.downloadUrl}")
    private String downloadUrl;
    @Value("${file.oss.properties.path}")
    private String path;
    @Value("${file.oss.properties.accessKeyId}")
    private String accessKeyId;
    @Value("${file.oss.properties.accessKeySecret}")
    private String accessKeySecret;
    @Value("${file.oss.properties.bucketName}")
    private String bucketName;
    @Value("${file.oss.properties.endpoint}")
    private String endpoint;
    @Value("${file.oss.properties.region}")
    private String region;
}
